package com.ruoyi.littleRedBook.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.littleRedBook.domain.pojo.Product;

import java.util.List;

public interface AdminProductService extends IService<Product> {
    AjaxResult getPendingProducts(Integer pageNum, Integer pageSize);

    AjaxResult approveProduct(Long id);

    AjaxResult rejectProduct(Long id, String rejectReason);

    AjaxResult getApprovedProducts(Integer status, Integer pageNum, Integer pageSize);
}
